package com.education.wisdom.pojo;

import com.education.common.core.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 个人资源目录表 jr_personal_catalog
 *
 * @author ruoyi
 * @date 2019-06-05
 */
public class PersonalCatalog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**  */
    private String catalogCode;
    /**  */
    private String name;
    /**  */
    private Integer catalogId;
    /**  */
    private Integer parentId;
    /**  */
    private String catalogBanner;
    /**
     * 简介
     */
    private String catalognIntro;
    /**
     * 1 已发布 2未发布
     */
    private Integer catalogState;
    /**
     * 课程图片
     */
    private String catalogIco;
    /**  */
    private Integer catalogCurriculumNo;
    /**  */
    private Integer catalogSmallclassNo;
    /**  */
    private Integer catalogResoueceNo;
    /**  */
    private Integer catalogStudentNo;
    /**  */
    private String remark;
    /**  */
    private Integer catalogLearningNum;
    /**  */
    private Integer catalogChapterNum;
    /**  */
    private Integer catalogScore;
    /**
     * 目录等级
     */
    private Integer catalogSort;
    /**  */
    private Integer catalogLevel;
    /**  */
    private String catalogIsfree;
    /**  */
    private String catalogTeacherid;
    /**  */
    private Date updateTime;
    /**  */
    private Date createTime;
    /**
     * 排序  1 推荐
     */
    private Integer orderNum;
    /**
     * 1 删除
     */
    private String delFlag;
    /**
     * 原价
     */
    private BigDecimal price;
    /**
     * 会员价
     */
    private BigDecimal vip;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 菜单类型（M目录 C菜单 F按钮）
     */
    private String menuType;
    /**
     * 是否付费(0：免费，1：付费)
     */
    private String freeFlag;
    /**
     * 学习人数
     */
    private String studysum;

    public void setCatalogCode(String catalogCode) {
        this.catalogCode = catalogCode;
    }

    public String getCatalogCode() {
        return catalogCode;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setCatalogId(Integer catalogId) {
        this.catalogId = catalogId;
    }

    public Integer getCatalogId() {
        return catalogId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setCatalogBanner(String catalogBanner) {
        this.catalogBanner = catalogBanner;
    }

    public String getCatalogBanner() {
        return catalogBanner;
    }

    public void setCatalognIntro(String catalognIntro) {
        this.catalognIntro = catalognIntro;
    }

    public String getCatalognIntro() {
        return catalognIntro;
    }

    public void setCatalogState(Integer catalogState) {
        this.catalogState = catalogState;
    }

    public Integer getCatalogState() {
        return catalogState;
    }

    public void setCatalogIco(String catalogIco) {
        this.catalogIco = catalogIco;
    }

    public String getCatalogIco() {
        return catalogIco;
    }

    public void setCatalogCurriculumNo(Integer catalogCurriculumNo) {
        this.catalogCurriculumNo = catalogCurriculumNo;
    }

    public Integer getCatalogCurriculumNo() {
        return catalogCurriculumNo;
    }

    public void setCatalogSmallclassNo(Integer catalogSmallclassNo) {
        this.catalogSmallclassNo = catalogSmallclassNo;
    }

    public Integer getCatalogSmallclassNo() {
        return catalogSmallclassNo;
    }

    public void setCatalogResoueceNo(Integer catalogResoueceNo) {
        this.catalogResoueceNo = catalogResoueceNo;
    }

    public Integer getCatalogResoueceNo() {
        return catalogResoueceNo;
    }

    public void setCatalogStudentNo(Integer catalogStudentNo) {
        this.catalogStudentNo = catalogStudentNo;
    }

    public Integer getCatalogStudentNo() {
        return catalogStudentNo;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }

    public void setCatalogLearningNum(Integer catalogLearningNum) {
        this.catalogLearningNum = catalogLearningNum;
    }

    public Integer getCatalogLearningNum() {
        return catalogLearningNum;
    }

    public void setCatalogChapterNum(Integer catalogChapterNum) {
        this.catalogChapterNum = catalogChapterNum;
    }

    public Integer getCatalogChapterNum() {
        return catalogChapterNum;
    }

    public void setCatalogScore(Integer catalogScore) {
        this.catalogScore = catalogScore;
    }

    public Integer getCatalogScore() {
        return catalogScore;
    }

    public void setCatalogSort(Integer catalogSort) {
        this.catalogSort = catalogSort;
    }

    public Integer getCatalogSort() {
        return catalogSort;
    }

    public void setCatalogLevel(Integer catalogLevel) {
        this.catalogLevel = catalogLevel;
    }

    public Integer getCatalogLevel() {
        return catalogLevel;
    }

    public void setCatalogIsfree(String catalogIsfree) {
        this.catalogIsfree = catalogIsfree;
    }

    public String getCatalogIsfree() {
        return catalogIsfree;
    }

    public void setCatalogTeacherid(String catalogTeacherid) {
        this.catalogTeacherid = catalogTeacherid;
    }

    public String getCatalogTeacherid() {
        return catalogTeacherid;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setVip(BigDecimal vip) {
        this.vip = vip;
    }

    public BigDecimal getVip() {
        return vip;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setFreeFlag(String freeFlag) {
        this.freeFlag = freeFlag;
    }

    public String getFreeFlag() {
        return freeFlag;
    }

    public void setStudysum(String studysum) {
        this.studysum = studysum;
    }

    public String getStudysum() {
        return studysum;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("catalogCode", getCatalogCode())
                .append("name", getName())
                .append("catalogId", getCatalogId())
                .append("parentId", getParentId())
                .append("catalogBanner", getCatalogBanner())
                .append("catalognIntro", getCatalognIntro())
                .append("catalogState", getCatalogState())
                .append("catalogIco", getCatalogIco())
                .append("catalogCurriculumNo", getCatalogCurriculumNo())
                .append("catalogSmallclassNo", getCatalogSmallclassNo())
                .append("catalogResoueceNo", getCatalogResoueceNo())
                .append("catalogStudentNo", getCatalogStudentNo())
                .append("remark", getRemark())
                .append("catalogLearningNum", getCatalogLearningNum())
                .append("catalogChapterNum", getCatalogChapterNum())
                .append("catalogScore", getCatalogScore())
                .append("catalogSort", getCatalogSort())
                .append("catalogLevel", getCatalogLevel())
                .append("catalogIsfree", getCatalogIsfree())
                .append("catalogTeacherid", getCatalogTeacherid())
                .append("updateTime", getUpdateTime())
                .append("createTime", getCreateTime())
                .append("orderNum", getOrderNum())
                .append("delFlag", getDelFlag())
                .append("price", getPrice())
                .append("vip", getVip())
                .append("sort", getSort())
                .append("menuType", getMenuType())
                .append("freeFlag", getFreeFlag())
                .append("studysum", getStudysum())
                .toString();
    }
}
